package com.itheima.type;

public class TypeConversionDemo4 {
    public static void main(String[] args) {
        double size = 6.8;
        int storage = 16;
        boolean rs = size >= 6.95 & storage >=8;
        System.out.println(rs);

        boolean rs2 = size >= 6.95 | storage >=8;
        System.out.println(rs2);

        System.out.println(!true);
        System.out.println(!false);
        System.out.println(!(2>1));

        System.out.println(true ^ false);
        System.out.println(false ^ false);
        System.out.println(true ^ false);
        System.out.println(false ^ true);
    }
}
